Yay_Currency\Helpers\YayCurrencyHelper D

Total Complexity 169
Dependencies 1
Dependents 72
Total lines 675
Lines of code 542
Logical lines of code 304
Comment lines 6
Methods 51
Properties 2

Methods 51

Method Rating Maintainability Complexity Lines of code
get_currency_change_switcher()
A
49 11 29
converted_currency()
A
46 10 33
format_currency_code_position()
S
54 7 23
format_sale_price()
S
58 7 14
get_formatted_total_by_convert_currency()
S
56 6 16
get_currency_by_ID()
S
49 5 28
round_price_by_currency()
S
54 5 21
format_currency_position()
S
58 5 18
set_cookies()
S
59 5 14
get_id_selected_currency()
S
61 5 12
checkout_in_fallback_currency()
S
63 5 10
is_dis_checkout_diff_currency()
S
63 5 10
filter_payment_methods_by_currency()
S
59 3 15
get_order_currency_by_order_id()
S
63 4 10
get_currency_code_by_order()
S
64 4 9
round_line_tax()
S
65 4 8
get_active_shipping_methods()
S
63 4 10
get_apply_currency()
S
62 4 10
get_currency_by_currency_code()
S
66 4 8
format_price()
S
60 3 14
filtered_by_currency_code()
S
62 3 12
calculate_price_by_currency()
S
63 3 11
calculate_price_by_currency_html()
S
56 2 17
reverse_calculate_price_by_currency()
S
63 3 10
get_convert_currency_by_checkout_currency()
S
64 3 10
get_fallback_currency()
S
66 3 8
is_current_fallback_currency()
S
70 3 6
get_current_currency_ID()
S
65 3 9
is_checkout_in_fallback()
S
68 3 6
get_symbol_by_currency()
S
66 3 8
get_apply_currency_format_info()
S
60 2 13
get_total_by_order()
S
65 2 9
is_wc_json_products()
S
78 2 3
get_cookie_name()
S
72 2 6
enable_rounding_currency()
S
78 2 3
detect_current_currency()
S
64 2 10
get_symbol_by_currency_code()
S
69 2 6
get_rate_fee()
S
65 2 8
format_price_currency()
S
64 2 9
calculate_price_by_currency_cookie()
S
65 2 9
format_currency_symbol()
S
71 2 5
delete_cookie()
S
69 2 6
disable_fallback_option_in_checkout_page()
S
72 2 5
converted_approximately_html()
S
74 1 4
get_values_for_total()
S
66 1 9
set_cookie()
S
77 1 3
get_cart_subtotal_for_order()
S
73 1 5
get_current_and_fallback_currency()
S
65 1 9
get_fallback_currency_by_default()
S
72 1 5
calculate_custom_price_by_currency_html()
S
71 1 5
__construct()
S
98 1 1